// 回显维修记录
const repairRecordForm = {
  title: '维修记录',
  submit: {
    show: false,
    label: ''
  },
  fields: [
    {
      label: '维修部门',
      type: 'input',
      placeholder: '请选择维修部门',
      key: '',
      value: '',
      hide: false,
      disable: false,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: '请选择维修部门'
      }
    },
    {
      label: '维修人员',
      type: 'input',
      placeholder: '请选择维修人员',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: '请选择维修人员'
      }
    },
    {
      label: '确认时间',
      type: 'input',
      placeholder: '',
      key: '',
      value: '2020-05-25',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '维修状态',
      type: 'status',
      placeholder: '',
      key: '',
      value: '维修中',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '完成时间',
      type: 'input',
      placeholder: '',
      key: '',
      value: '2020-05-25',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '维修花费',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '报修备注',
      type: 'textarea',
      placeholder: '请输入报修备注',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '上传图片',
      type: 'uploader',
      placeholder: '只支持上传6张图片',
      key: '',
      value: [],
      hide: false,
      disable: true,
      isExtraData: true,
      ignore: true,
      extraData: [],
      rules: {
        required: true,
        message: ''
      }
    }
  ]
};

export default repairRecordForm;
